<!DOCTYPE html>
<html>
    <head lang="fr">
        <meta charset="UTF-8"/>
        <title>Machiavel Fantasy - Activation</title>

        <script src="js/jquery-2.1.3.min.js"></script>
        <link rel="icon" href="images/icone_site/favicon.png">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1">

        <!-- Bootstrap -->
        <link href="css/bootstrap.min.css" rel="stylesheet">
        <link href="css/bootstrap-theme.css" rel="stylesheet" type="text/css"/>
        <script type="text/javascript" src="js/bootstrap.min.js"></script>

        <!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
        <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
        <!--[if lt IE 9]>
        <script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
        <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
        <![endif]-->
        <link 	href="css/complement.css" rel="stylesheet" type="text/css"/><!--CSS personnaliser-->
    </head>
    <body>
        <?php
                include_once("accessoires/header.html");//logo du site
                include_once("accessoires/menu.html");//barre de menu
            ?>
        <div class="col-md-12">
            <div class="panel panel-default contenu">
                <div class="panel-body">
                    <h3 class="underline">Activation de votre compte</h3>
                    <?php
                        if(!empty($errors[1]))//si vide
                        {
                            ?><div class="alert alert-danger" role="alert">
                            <strong><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> </strong><?php echo $errors[1];?> Redirection dans <span id="compteur">
                            </div><?php
                        }
                        if(!empty($errors[2]))//si vide
                        {
                            ?><div class="alert alert-danger" role="alert">
                            <strong><span class="glyphicon glyphicon-exclamation-sign" aria-hidden="true"></span> </strong><?php echo $errors[2];?> Redirection dans <span id="compteur">
                            </div><?php
                        }
                        else if(!empty($success))//si vide
                        {
                            ?><div class="alert alert-success" role="alert">
                            <strong><span class="glyphicon glyphicon-ok-sign" aria-hidden="true"></span> </strong><?php echo $success;?> Redirection dans <span id="compteur"></span>
                            </div><?php
                        }
                    ?>
                </div>
            </div>
        </div>
        <!--pour le décompte-->
        <script type="text/javascript" src="js/compteur.js"></script>
    </body>
</html>